package com.ruoyi.logistic.mapper;

import com.ruoyi.logistic.domain.NetworkName;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NetworkNameMapper extends BaseMapper<NetworkName> {
    //    查承包区
    List<NetworkName> selectContractArea();

    //    查询网点下的承包区
    List<NetworkName> selectByNetworkId();

    //    查询网点归属地
    String selectBelongById(Integer id);

    //    网点模糊查询
    List<NetworkName> selectByName(String name);

    String selectByCode(String code);

    String selectCodeByName(String name);


}
